package staticDemo4;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 阿宾
 * Date: 2025-03-07
 * Time: 10:46
 */
public class Student {
    String name;
    int age;
    static String teacherName;

    public static void method(){
        System.out.println("静态方法");
    }
    public void show(){
        System.out.println(name + "," + teacherName);
        method();
    }
}
